Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect GIL on python 3.12 #713

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Detect GIL on python 3.12 #713

merged 1 commit into from
Oct 30, 2024

Conversation

benfred
Copy link
Owner

@benfred benfred commented Oct 30, 2024

Use the InterpreterState._gil member to figure out both if the gil is locked, and if so which thread is holding the GIL

closes #692

Use the InterpreterState._gil member to figure out both
if the gil is locked, and if so which thread is holding the GIL
@benfred benfred merged commit 114e698 into master Oct 30, 2024
49 checks passed
@benfred benfred deleted the gil_py_3_12 branch October 30, 2024 20:33
@benfred benfred mentioned this pull request Oct 30, 2024
@benfred benfred added the enhancement New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detect GIL on python 3.12+
1 participant